#ifndef EJMAPWIDGET_H
#define EJMAPWIDGET_H
#include <QObject>
#include <QOpenGLWidget>
#include <QOpenGLFunctions>


class EjMapWidget : public QOpenGLWidget, protected QOpenGLFunctions
{
public:
    explicit EjMapWidget(QWidget *parent = nullptr);

protected:
    void initializeGL();
    void paintGL();
    void resizeGL(int w, int h);
    void keyPressEvent(QKeyEvent *e);  //鼠标处理函数
};

#endif // EJMAPWIDGET_H
